<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>基本训练</title>
</head>
<body>

    <script>
        // 函数
        function firstfun(x){
            if(x>3){
                console.log(x+3);
            }else{
                console.log(x);
            }

        }

        function more(a,b,...rest){
            console.log(a);
            console.log(b);
            console.log(rest);

        }

        // 外面的字符串使用双引号，内部的字符串使用单引号，都是英文的符号哈
        var person = {
            name:"mingtai",
            age:23,
            love:['ja','ff','33']
        }
    </script>
    
</body>
</html>